/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csvreader.model;

import java.io.Serializable;

/**
 *
 * @author 11.6711
 */
public class Contact implements Serializable{
    private static final long serialVersionUID = 1L;

    private String nama, keterangan;
    private String telepon1, telepon2, telepon3, email;

    public Contact(String nama, String telepon1, String telepon2, String telepon3, String email, String keterangan) {
        this.nama = nama;
        this.keterangan = keterangan;
        this.telepon1 = telepon1;
        this.telepon2 = telepon2;
        this.telepon3 = telepon3;
        this.email = email;
    }

    public String getNama() {
        return nama;
    }

    public String getKeterangan() {
        return keterangan;
    }

    public String getTelepon1() {
        return telepon1;
    }

    public String getTelepon2() {
        return telepon2;
    }

    public String getTelepon3() {
        return telepon3;
    }

    public String getEmail() {
        return email;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }

    public void setKeterangan(String keterangan) {
        this.keterangan = keterangan;
    }

    public void setTelepon1(String telepon1) {
        this.telepon1 = telepon1;
    }

    public void setTelepon2(String telepon2) {
        this.telepon2 = telepon2;
    }

    public void setTelepon3(String telepon3) {
        this.telepon3 = telepon3;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 71 * hash + (this.nama != null ? this.nama.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Contact other = (Contact) obj;
        if ((this.nama == null) ? (other.nama != null) : !this.nama.equals(other.nama)) {
            return false;
        }
        return true;
    }

    
    
    
}
